package com.shujia.duotai_work.exer;

public class PizzaFactory {

    public static Pizza getPizza(String mark, String size, double price) {
        Pizza pizza = new BaconPizza(price, size, Integer.valueOf(mark));
        // Pizza pizza = new SeaFoodPizza(price, size, mark);
        return pizza;
    }
}
